<?php



/*

#------------------------------------------------------------------------

# postnote - June 2010 (for Joomla 1.5)

#

# Copyright (C) 2007-2010 Gavick.com. All Rights Reserved.

# License: Copyrighted Commercial Software

# Website: http://www.gavick.com

# Support: support@gavick.com   

#------------------------------------------------------------------------ 

# Based on T3 Framework

#------------------------------------------------------------------------

# Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.

# @license - GNU/GPL, http://www.gnu.org/copyleft/gpl.html

# Author: J.O.O.M Solutions Co., Ltd

# Websites: http://www.joomlart.com - http://www.joomlancers.com

#------------------------------------------------------------------------

*/



// no direct access

defined( '_JEXEC' ) or die( 'Restricted access' );



$user =& JFactory::getUser();

// getting User ID

$userID = $user->get('id');

// defines if register is active

define('GK_REGISTER', ($this->countModules('register') && (($this->_tpl->params->get("register_button",1)) ? $userID == 0 : true)));

// defines if login is active

define('GK_LOGIN', $this->countModules('login'));

// defines if tools is active

define('GK_TOOLS',($this->_tpl->params->get('tools_button') == 1));

// defines logo

define('GK_LOGO',(trim($this->getParam('logoType-text-logoText'))=='') ? $config->sitename : $this->getParam('logoType-text-logoText'));

// defines slogan

define('GK_SLOGAN',(trim($this->getParam('logoType-text-sloganText'))=='') ? JText::_('SITE SLOGAN') : $this->getParam('logoType-text-sloganText'));
	

?>